package com.sr.recitewords.datasource.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@TableName("sys_user")
@ApiModel("用户表")
@Data
public class SysUser extends BaseEntity {
    @ApiModelProperty("用户ID")
    @TableId(type = IdType.AUTO)
    private String userId;
    @ApiModelProperty("用户类型 admin管理员 user用户")
    private String userType;
    @ApiModelProperty("用户名称")
    private String userName;
    @ApiModelProperty("登录账号")
    private String loginAccount;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("盐")
    private String salt;
    @ApiModelProperty("email邮箱")
    private String email;
    @ApiModelProperty("电话号码")
    private String phoneNumber;
}